package com.gongzhiyun.springboot3test.service;

public interface RedisService {
    Boolean has(String key);

    <T> void save(String key, T value, long expire);

    <T> T get(String key, Class<T> clazz);

    void delete(String key);
}
